#ifndef TCPSERVERSOCKET_H
#define TCPSERVERSOCKET_H

#include <QObject>
#include <QTcpSocket>


class TcpServerSocket : public QTcpSocket
{
    Q_OBJECT
public:
    TcpServerSocket(QObject *parent);

signals:
    void updateServer(QString, int);
    void disconnected(int);

protected slots:
    void dataReceived();
    void slotDisconnected();


};

#endif // TCPSERVERSOCKET_H
